package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 招生提成发放校区
 * </p>
 *
 * @author hpiggy
 * @since 2024-10-05
 */
@TableName("enroll_info_grant_school")
@ApiModel(value = "EnrollInfoGrantSchool对象", description = "招生提成发放校区")
@Data
public class EnrollInfoGrantSchool implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private Long orderId;

    private Long schoolId;

    private Long subjectsId;

    private Long studentId;

    @ApiModelProperty("发放数量")
    private BigDecimal grantNum;

    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdAt;
}
